package com.situ.servlet;

import com.situ.service.UserService;
import com.situ.util.BaseServlet;
import com.situ.vo.SexVO;

import javax.servlet.annotation.WebServlet;
import java.util.List;

@WebServlet("/stat")
public class StatServlet extends BaseServlet {

    UserService service = new UserService();

    public String page() {
        return "stat";
    }
    
    public List<SexVO> data(){
        return service.stat();
    }
}
